﻿/*
 * @file: IOrders
 * @type: interface
 */
public interface IOrders
{
    Orders[] GetOrders(bool allowFilter);
    Orders[] GetOrdersByUser(int userID, bool allowFilter);
    Orders[] GetOrdersByDate(string ordersDate, bool allowFilter);
    Orders GetOrderByOrderID(int orderID, bool allowFilter);
    int InsertOrder(Orders orders, out int autoNumber);
    //int UpdateOrders(Orders orders);
    int DisableOrder(int orderID, bool isEnable);
}
